<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 17:10
 */
$ofd_id = $route->bodyParams["ofd_id"];//主键ID

//更新条件
$whereArr = [
    "ofd_id" => $ofd_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_financial_declare",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );